const { defineConfig } = require('@vue/cli-service')
const webpack = require('webpack')

module.exports = defineConfig({
  transpileDependencies: true,
  // webpack 配置
  configureWebpack: {
  plugins: [
  new webpack.ProvidePlugin({
    $: "jquery",
    jQuery: "jquery",
    "windows.jQuery": "jquery"
  })
  ]
  },
  devServer: {
    proxy: {
    "/api": {
    target: "http://127.0.0.1:8090",
    changeOrigin: true,
    ws: true,
    }
    }
    }
   
  })
